package com.w.wx.mapper;

import com.w.wx.domain.UserEr;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Mapper
@Component
public interface UserErMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(UserEr record);

    UserEr selectByOpenid(String openid);

    ArrayList<UserEr> selectAll();

    int updateByPrimaryKey(UserEr record);

    int updateByOpenid(String openid,Integer state);
}